package com.kiliter.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author YUKI
 * @ClassName zhangjl
 * @date 2021/6/1 14:25
 * @Version 1.0
 */
@AllArgsConstructor
@Getter
public enum ErrorEnum {
        /**
         *
         */
        SMS_SEND_ERROR(5001,"短信发送失败"),

        ADMIN_IS_NOT_EXIST(1001,"用户不存在"),
        PASSWORD_IS_NOT_TRUE(1002,"密码错误");

        /**
         * 错误代码
         */
        private final Integer code;


        /**
         * 错误消息
         */
        private final String message;


}
